{% extends 'base_generic.html' %}

{% block content %}
<div class="container py-4">
  <div class="card">
    <div class="card-body">
      <h3 class="card-title">确认借阅</h3>
      <p>你确定要借阅 <strong>{{ instance.book.title }}</strong> 这本书吗？</p>
      <form method="post">{% csrf_token %}
        <button type="submit" class="btn btn-primary">确认借阅</button>
        <a href="{{ instance.book.get_absolute_url }}" class="btn btn-secondary">取消</a>
      </form>
    </div>
  </div>
</div>
{% endblock %} 